/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tms.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 跟踪Entity
 * @author 李超辉
 * @version 2019-06-03
 */
public class Track extends DataEntity<Track> {
	
	private static final long serialVersionUID = 1L;
	private String lx;		// 跟踪类型
	private Date sj;		// 跟踪时间
	private String wz;		// 跟踪位置
	private String bill;		// 运单Id
	
	public Track() {
		super();
	}

	public Track(String id){
		super(id);
	}

	@ExcelField(title="跟踪类型", align=2, sort=7)
	public String getLx() {
		return lx;
	}

	public void setLx(String lx) {
		this.lx = lx;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="跟踪时间", align=2, sort=8)
	public Date getSj() {
		return sj;
	}

	public void setSj(Date sj) {
		this.sj = sj;
	}
	
	@ExcelField(title="跟踪位置", align=2, sort=9)
	public String getWz() {
		return wz;
	}

	public void setWz(String wz) {
		this.wz = wz;
	}
	
	@ExcelField(title="运单Id", align=2, sort=10)
	public String getBill() {
		return bill;
	}

	public void setBill(String bill) {
		this.bill = bill;
	}
	
}